﻿package Message.Public
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EBuffType extends Object
    {
        public var __value:int;
        public static const _EBuffTypeLastDamage:int = 1;
        public static const _EBuffTypeConfused:int = 2;
        public static const _EBuffTypeSleepy:int = 3;
        public static const _EBuffTypeDizzy:int = 4;
        public static const _EBuffTypeMock:int = 5;
        public static const _EBuffTypeHoldStill:int = 6;
        public static const _EBuffTypeFreeze:int = 7;
        public static const _EBuffTypeScared:int = 8;
        public static const _EBuffTypeImmune:int = 9;
        public static const _EBuffTypeInvincible:int = 10;
        public static const _EBuffTypeDamageSuck:int = 11;
        public static const _EBuffTypeDamageRebound:int = 12;
        public static const _EBuffTypeDamageReflex:int = 13;
        public static const _EBuffTypeDamageToCure:int = 14;
        public static const _EBuffTypeAttackReflex:int = 15;
        public static const _EBuffTypeBanSkill:int = 16;
        public static const _EBuffTypeLastCure:int = 17;
        public static const _EBuffTypeLastRecoverBlue:int = 18;
        public static const _EBuffTypeIncOrDeSpeed:int = 19;
        public static const _EBuffTypeIncOrDeCureOut:int = 20;
        public static const _EBuffTypeIncOrDeCureIn:int = 21;
        public static const _EBuffTypeIncOrDeDamageOut:int = 22;
        public static const _EBuffTypeIncOrDeDamageIn:int = 23;
        public static const _EBuffTypeIncOrDeMaxLife:int = 24;
        public static const _EBuffTypeIncOrDeMaxMana:int = 25;
        public static const _EBuffTypeIncOrDeAttack:int = 26;
        public static const _EBuffTypeIncOrDePhysDefense:int = 27;
        public static const _EBuffTypeIncOrDeMagicDefens:int = 28;
        public static const _EBuffTypeIncOrDePenetration:int = 29;
        public static const _EBuffTypeIncOrDeHit:int = 30;
        public static const _EBuffTypeIncOrDeJouk:int = 31;
        public static const _EBuffTypeIncOrDeCrit:int = 32;
        public static const _EBuffTypeIncOrDeTough:int = 33;
        public static const _EBuffTypeIncOrDeExpertise:int = 34;
        public static const _EBuffTypeIncOrDeBlock:int = 35;
        public static const _EBuffTypeIncOrDeDamageReduce:int = 36;
        public static const _EBuffTypeIncOrDeBothDefense:int = 37;
        public static const _EBuffTypeTriggSkill:int = 38;
        public static const _EBuffTypeSuckBlood:int = 39;
        public static const _EBuffTypeFightBack:int = 40;
        public static const _EBuffTypeHalo:int = 41;
        public static const _EBuffTypeBoZang:int = 42;
        public static const _EBuffTypeIncOrDeThreat:int = 43;
        public static const _EBuffTypeDelaySkill:int = 44;
        public static const _EBuffTypeAttackedRebuff:int = 45;
        public static const _EBuffTypeBanAttack:int = 46;
        public static const _EBuffTypeIncOrDeDrugRecover:int = 47;
        public static const _EBuffTypeLastSuckBlood:int = 48;
        public static const _EBuffTypeAttackTriggSkill:int = 49;
        public static const _EBuffTypeLifeDownDie:int = 50;
        public static const _EBuffTypeDisappear:int = 51;
        public static const _EBuffTypeIncOrDeMagicShield:int = 52;
        public static const _EBuffTypeIncOrDeExceptionTime:int = 53;
        public static const _EBuffTypeCharm:int = 54;
        public static const _EBuffTypeIncOrDeAnger:int = 55;
        public static const _EBuffTypePetrified:int = 56;
        public static const _EBuffTypeAmbush:int = 60;
        public static const _EBuffTypeIncOrDeSprintCd:int = 70;
        public static const _EBuffTypeIncOrDeJumpCd:int = 71;
        public static const _EBuffTypeIncOrDeAngerMax:int = 73;
        public static const _EBuffTypeIncOrDeCureInterval:int = 74;
        public static const _EBuffTypeIncOrDeCureValue:int = 75;
        public static const _EBuffTypeIncOrDeStaminaAdd:int = 76;
        public static const _EBuffTypeIncOrDeStaminaMax:int = 77;
        public static const _EBuffTypeIncOrDeSpeedBuffValue:int = 78;
        public static const _EBuffTypeIncOrDeJumpDist:int = 79;
        public static const _EBuffTypeIncOrDeManaInterval:int = 80;
        public static const _EBuffTypeIncOrDeManaValue:int = 81;
        public static const _EBuffTypeCombatAntiException:int = 82;
        public static const _EBuffTypeBuffBeforeDead:int = 83;
        public static const _EBuffTypePvpExceptionAnti:int = 84;
        public static const _EBuffTypeChain:int = 99;
        public static const _EBuffTypeChangeModel:int = 100;
        public static const _EBuffTypeModelSize:int = 101;
        public static const _EBuffTypePetBreakHP:int = 102;
        public static const _EBuffTypeGuild:int = 103;
        public static const _EBuffTypeTaskDisappear:int = 104;
        public static const _EBuffTypeExp:int = 105;
        public static const _EBuffTypeProtectFromPlayer:int = 106;
        public static const _EBuffTypeRaidersTreasure:int = 107;
        public static const _EBuffTypeChangeBody:int = 108;
        public static const _EBuffTypeEquipRebound:int = 109;
        public static const _EBuffTypeEquipFightBack:int = 110;
        public static const _EBuffTypeEquipDamageSuck:int = 111;
        public static const _EBuffTypeEquipSuckBlood:int = 112;
        public static const _EBuffTypeEquipMultiHurt:int = 113;
        public static const _EBuffTypeEquipHurtDispel:int = 114;
        public static const _EBuffTypeEquipKnockOut:int = 115;
        public static const _EBuffTypeEquipProficiency:int = 116;
        public static const _EBuffTypeEquipBuff:int = 117;
        public static const _EBuffTypeEquipAntiBuff:int = 118;
        public static const _EBuffTypeEquipDynamicBuff:int = 119;
        public static const _EBuffTypeXpSkillEffect:int = 120;

        public function EBuffType(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EBuffType
        {
            return new EBuffType(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EBuffType
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 121)
            {
                throw new MarshalException();
            }
            return EBuffType.convert(_loc_2);
        }// end function

    }
}
